package com.example.hospital.pojo;

import lombok.Data;
import java.util.Date;

//请假实体类
@Data
public class LeaveRequest {
    private Integer id;
    private Integer userId;
    private Date startDate;
    private Date endDate;
    private String reason;
    private String status; // 待审批、已批准、已拒绝
    private Date createdAt;
    private Date updatedAt;

    // 关联属性（可选）
    private User user;
}
